var newVue = new Vue({
	el: '#main',
	data: {
		headerData:{
			'titleColor':'#08acee',
			'title':'我的投票',
			'icon':false,
			'iconColor':'white',
			'titleIcon':'fa-plus-circle'
		},
		votelist:[]
	},
	mounted: function() {
		this.init();
	},
	methods: {
		init: function() {
			var that = this;
			util.get('https://www.maksdu.com/app/post/vote/all',null,function(data) {
				that.votelist = data.value;
			})
		},
		go: function(index) {
			window.location.replace('view.html?id='+index);
		}
	}
});